<!--
 * @Author: lmk
 * @Date: 2021-01-06 19:54:02
 * @LastEditTime: 2021-11-19 16:51:53
 * @LastEditors: lmk
 * @Description: 
-->
<template>
	<view>
		<view v-if="item.price || item.salePrice" class="u-flex">
			<text class="u-font-24 text-color-765CFE u-margin-right-10" v-if="showTxt">{{txt}}</text>
			<money :price="item.exhibitPrice||item.experiencePrice" :color="currentThemeObj.primary" size="40"></money>
			<text class="price u-margin-left-10 u-font-24">￥{{item.price||item.salePrice}}</text>
		</view>
		<view v-else class="text-color-765CFE">售价：待定</view>
	</view>
</template>

<script>
	export default {
		props: {
			item: {
				type: Object,
				default: ()=>({})
			},
			txt:{
				type:String,
				default:'展会价'
			},
			showTxt:{
				type:Boolean,
				default:true
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
.price{
	text-decoration: line-through;
	color: #999;
}
</style>
